package com.education.welco.service;


import com.education.welco.pojo.SHomewordClass;

import java.util.List;

/**
 * 课后作业查看班级 服务层
 *
 * @author d
 * @date 2020-05-13
 */
public interface ISHomewordClassService {

    /**
     * 查询课后作业查看班级信息
     *
     * @param id 课后作业查看班级ID
     * @return 课后作业查看班级信息
     */
    public SHomewordClass selectSHomewordClassById(Integer id);

    /**
     * 查询课后作业查看班级列表
     *
     * @param sHomewordClass 课后作业查看班级信息
     * @return 课后作业查看班级集合
     */
    public List<SHomewordClass> selectSHomewordClassList(SHomewordClass sHomewordClass);

    /**
     * 新增课后作业查看班级
     *
     * @param sHomewordClass 课后作业查看班级信息
     * @return 结果
     */
    public int insertSHomewordClass(SHomewordClass sHomewordClass);

    /**
     * 修改课后作业查看班级
     *
     * @param sHomewordClass 课后作业查看班级信息
     * @return 结果
     */
    public int updateSHomewordClass(SHomewordClass sHomewordClass);

    /**
     * 删除课后作业查看班级
     *
     * @param workId 课后作业查看班级ID
     * @return 结果
     */
    public int deleteSHomewordClassByCatalogId( Integer workId);

    /**
     * 删除课后作业查看班级信息
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteSHomewordClassByIds(String ids);

    public int  insertSHomewordClassList(List<SHomewordClass> sHomewordClassList);
}